
import 'package:freezed_annotation/freezed_annotation.dart';

import 'EventVo.dart';

part 'PageDtoEventVo.g.dart';

///PageDTOEventVo
@JsonSerializable()
class PageDtoEventVo {

  ///荷载
  @JsonKey(name: "list")
  List<EventVo>? list;

  ///总页数
  @JsonKey(name: "pages")
  int? pages;

  ///总数据条数
  @JsonKey(name: "total")
  int? total;

  PageDtoEventVo({
    this.list,
    this.pages,
    this.total,
  });

  factory PageDtoEventVo.fromJson(Map<String, dynamic> json) => _$PageDtoEventVoFromJson(json);

  Map<String, dynamic> toJson() => _$PageDtoEventVoToJson(this);
}
